﻿@using LunwenYun.Infrastructure.Entities.Entity;
@{
    ViewBag.Title = "选择支付银行 -" + LunwenYun.Tool.Configration.SiteResource.SiteName;
    Layout = "~/Views/Shared/_m_Main.cshtml";
    Trade trade = ViewBag.TradeEntity;
    User user = ViewBag.Provider;
}
@section head{
    <link rel="stylesheet" type="text/css" href="/content/css/css_col4.css" />
    <style type="text/css">
        .widget-box
        {
            background: none repeat scroll 0 0 #F9F9F9;
            border-top: 1px solid #CDCDCD;
            border-left: 1px solid #CDCDCD;
            border-right: 1px solid #CDCDCD;
            clear: both;
            margin-top: 16px;
            margin-bottom: 16px;
            position: relative;
        }
        .widget-title, .modal-header, .table th, div.dataTables_wrapper .ui-widget-header, .ui-dialog .ui-dialog-titlebar
        {
            background-color: #efefef;
            background-image: -webkit-gradient(linear, 0 0%, 0 100%, from(#fdfdfd), to(#eaeaea));
            background-image: -webkit-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
            background-image: -moz-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
            background-image: -ms-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
            background-image: -o-linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
            background-image: -linear-gradient(top, #fdfdfd 0%, #eaeaea 100%);
            filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fdfdfd', endColorstr='#eaeaea',GradientType=0 );
            border-bottom: 1px solid #CDCDCD;
            height: 36px;
        }
        .widget-title span.icon
        {
            border-right: 1px solid #cdcdcd;
            padding: 9px 10px 7px 11px;
            float: left;
            opacity: .7;
        }
        .widget-content
        {
            padding: 12px 15px;
            border-bottom: 1px solid #cdcdcd;
        }
        .widget-title h5
        {
            color: #666666;
            text-shadow: 0 1px 0 #ffffff;
            float: left;
            font-size: 12px;
            font-weight: bold;
            padding: 12px;
            line-height: 12px;
            margin: 0;
        }
    </style>
}
<div class="container-fluid">
    <div class="row-fluid">
        <div class="span12">
            <div class="alert alert-success">
                约稿费：@trade.Momey <br />
                约稿人：@user.NickName <br />
                约稿描述： @Html.Raw(trade.Description)
            </div>
        </div>
        <div class="span12">
            <div class="widget-box">
                <div class="widget-title">
                    <span class="icon"><i class="icon-retweet"></i></span>
                    <h5>
                        请选择支付方式</h5>
                </div>
                <div class="widget-content" style="height: 380px;">
                    <form action="/pay/doPay" method="post">
                    <input type="hidden" name="trade" value="@ViewBag.Trade" />
                    <input type="hidden" name="token" value="@ViewBag.Token" />
                    <input type="hidden" name="bank_type_value" id="bank_type_value" value="0" />
                    <div id="tenpayBankList">
                    </div>
                    <div class="span12">
                        <hr />
                        <input type="submit" value="前往支付" class="btn btn-warning btn-large" />
                    </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
@section tail{
    <script type="text/javascript">        $.getScript('http://union.tenpay.com/bankList/bank.js')</script>
}
